home *** CD-ROM | disk | FTP | other *** search
- /* p887.c --- bible */
- #include <conio.h>
- main()
- {
- int i;
- gotoxy(1,1);
- for(i = 0; i < 5; i++)
- cprintf("T h i s i s l i n e # %d\n\r", i);
- cputs("Press any key to copy above text: ");
- getch();
- if(!movetext(1, 1, 28, 5, 40, 1))
- {
- cputs("\nFailed during 'movetext'");
- exit(1);
- }
- gotoxy(1, 15);
- lowvideo();
- cputs("The copying was done by calling 'movetext'");
- getch();
- }